﻿using System;

namespace SharpSqlAnalyzer.nodes
{
	// Token: 0x020002BC RID: 700
	public class TDescribeSqlNode : TParseTreeNode
	{
		// Token: 0x170004FF RID: 1279
		// (get) Token: 0x060017CF RID: 6095 RVA: 0x003288A9 File Offset: 0x00326AA9
		public virtual TObjectName ColumnName
		{
			get
			{
				return this.columnName;
			}
		}

		// Token: 0x17000500 RID: 1280
		// (get) Token: 0x060017D0 RID: 6096 RVA: 0x003288B1 File Offset: 0x00326AB1
		public virtual TSourceToken DescToken
		{
			get
			{
				return this.descToken;
			}
		}

		// Token: 0x17000501 RID: 1281
		// (get) Token: 0x060017D1 RID: 6097 RVA: 0x003288B9 File Offset: 0x00326AB9
		public virtual TObjectName TableName
		{
			get
			{
				return this.tableName;
			}
		}

		// Token: 0x060017D2 RID: 6098 RVA: 0x003288C4 File Offset: 0x00326AC4
		public override void init(object arg1, object arg2)
		{
			this.dbObjectType = (EDbObjectType)arg1;
			this.dbObjectName = (TObjectName)arg2;
			EDbObjectType edbObjectType = this.dbObjectType;
			if (edbObjectType == EDbObjectType.column || edbObjectType == EDbObjectType.table)
			{
				this.tableName = this.dbObjectName;
				this.tableName.DbObjectType = this.dbObjectType;
			}
		}

		// Token: 0x060017D3 RID: 6099 RVA: 0x00328916 File Offset: 0x00326B16
		public override void init(object arg1, object arg2, object arg3)
		{
			this.init(arg1, arg2);
			if (this.dbObjectType == EDbObjectType.column)
			{
				this.columnName = (TObjectName)arg3;
			}
		}

		// Token: 0x0400182D RID: 6189
		private TObjectName tableName;

		// Token: 0x0400182E RID: 6190
		private TObjectName columnName;

		// Token: 0x0400182F RID: 6191
		private TSourceToken descToken;

		// Token: 0x04001830 RID: 6192
		private TObjectName dbObjectName;

		// Token: 0x04001831 RID: 6193
		private EDbObjectType dbObjectType;
	}
}
